package service

import (
	intrv1 "booksmart/book/api/proto/gen/intr/v1"
	"booksmart/book/internal/repository"
	"context"
)

type RankingService interface {
	TopN(ctx context.Context) error
}

type BatchRankingService struct {
	intrSvc intrv1.InteractiveServiceClient
	repo    repository.RankingRepository
}

func NewBatchRankingService(intrSvc intrv1.InteractiveServiceClient, repo repository.RankingRepository) *BatchRankingService {
	return &BatchRankingService{intrSvc: intrSvc, repo: repo}
}

func (b BatchRankingService) TopN(ctx context.Context) error {
	//TODO implement me
	panic("implement me")
}
